package com.larsgard.gedviewer.shared.ajax;

import java.io.Serializable;

public class LoggedInRequest implements Serializable {

    private static final long serialVersionUID = -4302178383683921509L;
    private String url;
    private int resumePos;

    /**
     * Used only by gwt
     * 
     * @deprecated
     */
    @Deprecated
    public LoggedInRequest() {

    }

    public LoggedInRequest(String href) {
	this.setUrl(href);
    }

    public void setUrl(String url) {
	this.url = url;
    }

    public String getUrl() {
	return url;
    }

    public void setResumePos(int resumePos) {
	this.resumePos = resumePos;
    }

    public int getResumePos() {
	return resumePos;
    }
}
